body {
  min-width: 1170px;
  min-height: 500px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial;
  color: $--color-text-primary;
  background: $--background-color-selected;
  overflow: hidden;
}

.page-scroll {
  overflow: auto;
  height: calc(100vh - 50px);
}

.ellipsis {
  display: inline-block;
  overflow: hidden;
  /*超出部分隐藏*/
  text-overflow: ellipsis;
  /* 超出部分显示省略号 */
  text-overflow: ellipsis;
  /* 超出部分显示省略号 */
  white-space: nowrap;
  /*规定段落中的文本不进行换行 */
}

.pannel-footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15px 17px;
  box-sizing: border-box;
  border-top: $--border-base;
  background: #fff;
}

// 自定义input错误提示图标
.ym-form-item__error {
  color: #262626;
  padding-top: 8px;

  &::before {
    display: inline-block;
    content: '';
    width: 13px;
    height: 13px;
    vertical-align: -2px;
    padding-right: 8px;
    background: url('~img/jian-icon.png') no-repeat center;
    background-size: contain;
  }
}

// 表单错误提示图标
.el-form-item__error {
  color: #262626;
  padding-top: 8px;

  &::before {
    display: inline-block;
    content: '';
    width: 13px;
    height: 13px;
    vertical-align: bottom;
    padding-right: 8px;
    background: url('~img/jian-icon.png') no-repeat center;
    background-size: contain;
  }
}

// 图片弹窗 确认 底部按钮
.modal-footer {
  padding-top: 20px;
  float: right;
}

// table 无内容时的样式
.empty-table {
  text-align: center;
  height: 90px;
  width: 90px;
  cursor: pointer;
  margin: 0 auto;

  img {
    vertical-align: middle;
    padding: 18px 28px;
    display: inline-block;
    width: 38px;
    height: 32px;
  }

  p {
    color: #262626;
  }
}

// 回收站顶部提示
.recycle-tip {
  margin: 0 16px;
  height: 32px;
  background: rgba(255, 248, 242, 1);
  border-radius: 2px;
  border: 1px solid rgba(250, 223, 197, 1);
  text-align: center;
  line-height: 32px;
  color: #fe9837;
  margin-bottom: 16px;
}

// 蒙层
.mask {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  transition: all cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

// 小手样式
.cursor-p {
  cursor: pointer;
}

//内容管理 table 封面
.cover {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 10px;
  object-fit: cover;
  flex: none;
}

.fs14 {
  font-size: 14px;
}

.el-dialog__wrapper /deep/ .el-dialog .el-dialog__headerbtn .el-dialog__close {
  font-size: 14px;
  color: $--color-text-regular;
  padding: 8px;
  &:hover {
    background: $--background-color-hover;
    border-radius: $--border-radius-circle;
  }
}

.icon-size {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.auth-tip {
  box-sizing: border-box;
  margin: 10px 16px 0;
  height: 32px;
  line-height: 32px;
  padding: 0 16px;
  color: #ff451d;
  background: rgba(253, 240, 237, 1);
  border: 1px solid rgba(253, 171, 153, 1);
}

.submenu-aside {
  width: 130px !important;
}

// popover 弹框样式
.textareaWrap {
  background: $--color-white;
  margin: 12px 4px;
  position: relative;

  .btn-wrap {
    text-align: right;
    padding-top: 16px;
  }
}

// vhtml 片段 突出样式
.attention {
  color: $--color-primary;
}

.lessattention {
  color: $--color-text-regular;
}

.lineheight26 {
  line-height: 26px;
}

.fontsize14 {
  font-size: $--font-size-base;
}

// 树结构 下拉框中 disabled
// .el-select-dropdown
//   /deep/
//   .el-tree
//   .el-tree-node[aria-disabled='true']>
//   .el-tree-node__content {
//   cursor: not-allowed;
// }

// .el-select-dropdown
//   /deep/
//   .el-tree
//   .el-tree-node[aria-disabled='true']>
//   .el-tree-node__content
//   .el-tree-node__label {
//   color: $--color-text-regular;
// }
